import React, { Component } from "react";
import { withRouter } from "react-router-dom";
class Header extends Component {
  render() {
    console.log("header props :>> ", this.props);
    return <h2>React Router Demo</h2>;
  }
}
export default withRouter(Header);
